﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace QTMusic.UserControls
{
    public partial class SearchBox : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void BtnSearch_Clicked(object sender, EventArgs e)
        {
            // chu y loi sql injection
            string url = "SearchResult.aspx?";
            url += "value=" + InputBasicSearch.Text;
            Response.Redirect(url);
        }
    }
}